<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title><{T w='Content Management System'}></title>
<link href="<{$smarty.const.BASEPATH}>/css/base.css" rel="stylesheet">
<link href="<{$smarty.const.BASEPATH}>/css/admin_style.css" rel="stylesheet">
<script type="text/javascript" src="<{$smarty.const.WEBDIR}>js/jquery.min.js"></script>

<script language="javascript">
function fnOnMenuClick(menu)
{
    $("#menus > ul > li").removeClass("current");
    $(menu).parent().addClass("current");
}

</script>
</head>
<body>
  <div id="sidebar">
    <div id="menus">
      <ul>
      <{foreach from=$leftlist item=g}>
	        <li>
          <a href="<{spUrl c=$g.controller a=$g.action}>" onclick="fnOnMenuClick(this);" target="mainFrame"><{$g.name}></a>
	    </li>
    <{/foreach}>
	      </ul>
    </div>

  </div>
</body>
</html>